Ext.define('DragonApp.view.base.Container', {
    extend: 'Ext.container.Container',
    xtype: 'base',

    layout: 'fit',

    controller: 'base-chart',

    requires: [
        'DragonApp.view.base.Grid',
        'DragonApp.view.base.Panel',
        'DragonApp.view.base.Query',
        'DragonApp.view.base.Controller',
        'DragonApp.view.base.ChartController',
        'DragonApp.view.pub.combobox.Channel'
    ],
    items: [{
        xtype: 'basequery',
        title: '查询表单'
    }, {
        xtype: 'tabpanel',
        title: '运营基本数据',

        items: [{
            xtype: 'basegrid',
            title: '留存数据',
            height: 600
        }, {
            xtype: 'basepanel',
            title: '用户数据'
        }],
        listeners: {
            tabchange: 'onTabChange'
        }
    }]
});